<template>
    <div class="detailwrap">
        <dl>
            <dt><img :src="listdata.url" alt=""></dt>
            <dd>
                <h3>{{listdata.title}}</h3>
                <p>{{listdata.desc}}</p>
                <p>￥{{listdata.price}}</p>
            </dd>
        </dl>
    </div>
</template>

<script lang="ts">
    import { Component, Vue} from 'vue-property-decorator';

@Component
export default class Detail extends Vue {
    private listdata:any=this.$route.query
    created(){
        console.log(this.listdata)
    }
}
</script>
